package cn.itcast.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 从yml配置文件中读取配置封装到该Bean*/
@Data
@ConfigurationProperties(prefix = "itcast.sms")
public class SmsProperties {

    private String accessKey;
    private String secret;
    private String signName;
    private String templateCode;
}